//
//  Common.swift
//  weibo
//
//  Created by libowen on 16/5/20.
//  Copyright © 2016年 libowen. All rights reserved.
//
import UIKit
import Foundation
//在同一个命名空间下 所有的文件默认贡献
//屏幕的宽和高
let ScreenWidth = UIScreen.mainScreen().bounds.width
let ScreenHeight = UIScreen.mainScreen().bounds.height

let client_id = "266064846"
let client_secret = "19766549cfc105385cb1560136da6cb3"
let redirect_uri = "http://www.itheima.com"


let AppErrorTip = "网络君正在睡觉,请稍后再试"


let HomeCellId = "HomeCellId"



func randomColor() -> UIColor {
    let red = CGFloat(random() % 256) / 255.0
    let blue = CGFloat(random() % 256) / 255.0
    let green = CGFloat(random() % 256) / 255.0
    
    return UIColor(red: red, green: green, blue: blue, alpha: 1)
}






















let SwitchRootViewController = "SwitchRootViewController"